Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(interval): more practical example #4047

Merged
merged 1 commit into from
Aug 22, 2018

Conversation

pertrai1
Copy link
Contributor

Description:

Updating the example to add import(s) into the example as is being done in other docs, as well as a cleaner usage.

@pertrai1 pertrai1 force-pushed the update-interval-docs-example branch 2 times, most recently from be5d484 to 165b00f Compare August 22, 2018 00:24
Copy link
Member

@niklas-wortmann niklas-wortmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change

* const numbers = interval(1000);
* numbers.subscribe(x => console.log(x));
*
* const takeThreeNumbers = numbers.pipe(take(4));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't it takeFourNumbers 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL. good catch

@pertrai1 pertrai1 force-pushed the update-interval-docs-example branch from 165b00f to c63a7c3 Compare August 22, 2018 07:50
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.783% when pulling c63a7c3 on pertrai1:update-interval-docs-example into 040ec2f on ReactiveX:master.

@cartant cartant merged commit 04a2a9c into ReactiveX:master Aug 22, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Sep 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants